/**
 * @Company: 北京慧点科技有限公司 | www.smartdot.com.cn
 * @Copyright 1998-2020 © Smartdot Technologies Co., Ltd.
 */
package com.springlearn.zhoufei.other.spring.demo1;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * 描述该类- JPA
 *
 * @author <a href="mailto:zhoufei@smartdot.com.cn">zhoufei</a>
 * @class: Test
 * @date 2020/9/18 20:09
 * @Verson 1.0 -2020/9/18 20:09
 * @see
 */
public class Test {
    
    public static String pathHello = "./other\\Hello.xml";
    
    public static void main(String[] args) {
        ApplicationContext context = new ClassPathXmlApplicationContext(pathHello);
        Hello hello = (Hello) context.getBean("hello");
        hello.sayHello();
    }
}